package com.woniuxy.microgoodsserver.auctionmag.service;


import com.github.pagehelper.PageInfo;
import com.woniuxy.microgoodsserver.bean.GoodsUnitBean;
import com.woniuxy.microgoodsserver.bean.PageRequest;

import java.util.List;

public interface GoodsUnitService {

    PageInfo<GoodsUnitBean> unitFindAll(PageRequest pageRequest, GoodsUnitBean GoodsUnitBean);

    GoodsUnitBean unitFindById(int id);

    int savaUnit(GoodsUnitBean goodsUnitBean);

    int updateUnit(GoodsUnitBean goodsUnitBean);
}
